package com.core.service.lucene;

/**
 * Lucene 模型对象
 * 
 * @author 刘威
 * 
 */
public class Lucene {

	private Long id;
	private String title;
	private String content;
	private String pubDate;
	private String link;
	private String boost;
	public static final String ID = "id";
	public static final String TITLE = "title";
	public static final String DIGEST = "digest";
	public static final String CONTENT = "content";
	public static final String PUBDATE = "pubDate";
	public static final String LINK = "link";
	public static final String BOOST = "boost";

	public Lucene() {
	}

	public Lucene(Long id, String title, String content, String pubDate,
			String link, String boost) {
		this.id = id;
		this.title = title;
		this.content = content;
		this.pubDate = pubDate;
		this.link = link;
		this.boost = boost;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getPubDate() {
		return pubDate;
	}

	public void setPubDate(String pubDate) {
		this.pubDate = pubDate;
	}

	public String getLink() {
		return link;
	}

	public void setLink(String link) {
		this.link = link;
	}

	public String getBoost() {
		return boost;
	}

	public void setBoost(String boost) {
		this.boost = boost;
	}
}
